package com.dmy.chat.server.netty;

import io.netty.channel.ChannelId;

/**
 * create by YCQ for 2020/1/13 10:31
 */
public interface ChannelSender<T> {

    void sendByChannnelId(ChannelId channelId, T msg);

    void sendAll(T msg);
}
